// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import 'bootstrap/dist/css/bootstrap.css'
/* Vuex使用了promise，而IE不支持（发现，仅在npm run build版本中有用，开发环境暂时不用IE）
   通过babel-polyfill来解决：
   1. npm i --save babel-polyfill
   2. 在主文件中引入 babel-polyfill：import 'babel-polyfill'
*/
import 'babel-polyfill'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  ...App
})
